package com.learning.rpc.config.spring.annocation;

import com.learning.rpc.config.spring.RpcConfigRegistrar;
import com.learning.rpc.config.spring.RpcPostProcessor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName: EnableRpc
 * Description: Rpc 启动注解
 * Date: 2022/5/10 22:20 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({RpcPostProcessor.class, RpcConfigRegistrar.class})
public @interface EnableRpc {
}
